import request from '@/utils/request'

// 查询鸟情信息列表
export function listAviansituation(query) {
  return request({
    url: '/baseinfo/aviansituation/list',
    method: 'get',
    params: query
  })
}

// 查询鸟情信息详细
export function getAviansituation(avianid) {
  return request({
    url: '/baseinfo/aviansituation/' + avianid,
    method: 'get'
  })
}

// 新增鸟情信息
export function addAviansituation(data) {
  return request({
    url: '/baseinfo/aviansituation',
    method: 'post',
    data: data
  })
}

// 修改鸟情信息
export function updateAviansituation(data) {
  return request({
    url: '/baseinfo/aviansituation',
    method: 'put',
    data: data
  })
}

// 删除鸟情信息
export function delAviansituation(avianid) {
  return request({
    url: '/baseinfo/aviansituation/' + avianid,
    method: 'delete'
  })
}
